import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

Vue.directive('very-beauty',(element,{value})=>{
  element.style.color = 'red'
  element.style.backgroundColor = 'green'
  element.innerText = value
})


new Vue({
  el:'#app',
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  render: h => h(App)
})